package com.myy.purchase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;

@Data
@TableName("t_purchase")
public class Purchase {

        @TableId(value = "id", type = IdType.AUTO)
        private  Long  id ;

        private  Integer  type;
        private  String   name;
        private  String   picture;
        private  String   number;
        private  Integer  specifications;
        private  Integer  shape;
        private  String   size;
        private  Double   singlePrice;
        private  Integer  amount;
        private  Double   weight;
        private  Double   caratSinglePrice;
        private  Double   totalPrice;
        private  Double   exchangeRate;
        private  Long     createUser;
        private  Date     createTime;
}